import { createMemoryHistory, createRouter } from 'vue-router'

import BallotView from '../components/BallotView.vue'
import SendView from '../components/SendView.vue'
import InfoView from '../components/InfoView.vue'

const routes = [
  { path: '/', component: BallotView },
  { path: '/send', component: SendView },
  { path: '/info', component: InfoView },
]

const router = createRouter({
  history: createMemoryHistory(),
  routes,
})

export default router